package com.jingdianjichi.subject.domain.comvert;

import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;


/**
 * 标签dto的转换
 */
@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE=Mappers.getMapper(SubjectInfoConverter.class);
    SubjectInfo convertBOToInfo(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO convertOptionAndInfoToBO(SubjectOptionBO subjectOptionBO,SubjectInfo subjectInfo);
    List<SubjectInfoBO> convertListInfoToBO(List<SubjectInfo> subjectInfoList);

}
